package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.Complaint;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ComplaintMapper {
    int deleteByPrimaryKey(String tid);

    int insert(Complaint record);

    int insertSelective(Complaint record);

    Complaint selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(Complaint record);

    int updateByPrimaryKey(Complaint record);

    List<String> getComplaintList(@Param("key") String key, @Param("complaint") Complaint complaint);

//    List<String> selectComplaintList(String key, Complaint complaint);
    List<Complaint> selectListComplaintByListTid(@Param("stringList") List<String> stringList, @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);
}